package cn.getech.data.development.model.req.realtimeresource;

import cn.getech.data.intelligence.common.validator.group.AddGroup;
import cn.getech.data.intelligence.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "删除实时资源请求")
public class RealtimeResourceDelReq {
    @ApiModelProperty(value = "实时资源id")
    @NotNull(message = "实时资源id不能为空", groups = {AddGroup.class, UpdateGroup.class})
    private Long resourceId;
    @ApiModelProperty(value = "项目id")
    private Integer procId;
}
